# $Id: PKGBUILD 65807 2012-02-22 12:45:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-email-mime-encodings
pkgver=1.313
pkgrel=3
pkgdesc="A unified interface to MIME encoding and decoding "
arch=('any')
url="http://search.cpan.org/dist/Email-MIME-Encodings"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-Encodings-$pkgver.tar.gz)
md5sums=('f2580c816fb0c4b2a256540a385bf4fb')

build() {
  cd  $srcdir/Email-MIME-Encodings-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
